Function Assistant: A Tool for NL Querying of APIs

نویسندگان

  • Kyle Richardson
  • Jonas Kuhn
چکیده

In this paper, we describe Function Assistant, a lightweight Python-based toolkit for querying and exploring source code repositories using natural language. The toolkit is designed to help end-users of a target API quickly find information about functions through high-level natural language queries and descriptions. For a given text query and background API, the tool finds candidate functions by performing a translation from the text to known representations in the API using the semantic parsing approach of Richardson and Kuhn (2017). Translations are automatically learned from example textcode pairs in example APIs. The toolkit includes features for building translation pipelines and query engines for arbitrary source code projects. To explore this last feature, we perform new experiments on 27 well-known Python projects hosted on Github.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Variations in EFL Teachers’ Pedagogical Knowledge Base as a Function of Their Teaching License Status

The study of teachers’ pedagogical knowledge base (PKB) to discover how teachers think and work is attracting increasing attention in ELT. Against this background, the present study aimed at probing the likely variations in EFL teachers’ pedagogical knowledge base as a function of their teaching license status. To this aim, six teachers (two standard-licensed, two alternatively-licensed, and tw...

متن کامل

An Environmental Information Search Assistant based on the Google Web APIs Service

The World Wide Web is a widely accepted system for sharing information. Therefore, governmental as well as non-governmental organizations use it to make available and to disseminate environmental information. But there are more than eight billion Web pages in existence and the number is increasing. Due to this fact locating environmental information on the World Wide Web is a critical function....

متن کامل

Developing a BIM-based Spatial Ontology for Semantic Querying of 3D Property Information

With the growing dominance of complex and multi-level urban structures, current cadastral systems, which are often developed based on 2D representations, are not capable of providing unambiguous spatial information about urban properties. Therefore, the concept of 3D cadastre is proposed to support 3D digital representation of land and properties and facilitate the communication of legal owners...

متن کامل

A Model of a Generic Natural Language Interface for Querying Database

Extracting information from database is typically done by using a structured language such as SQL (Structured Query Language). But non expert users can’t use this later. Wherefore using Natural Language (NL) for communicating with database can be a powerful tool. But without any help, computers can’t understand this language; that is why it is essential to develop an interface able to translate...

متن کامل

Solving the TTC 2013 Flowgraphs Case with FunnyQT

FunnyQT1 is a new model querying and transformation approach which is implemented as an API for the functional, JVM-based Lisp-dialect Clojure. It provides several sub-APIs for implementing different kinds of queries and transformations. For example, there is a model-to-model transformation API, and there is an in-place transformation API for writing programmed graph transformations. FunnyQT cu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017